Pixeldev\SquareWooSync\Square\SquareHelper A

Total Complexity 58
Dependencies 0
Dependents 6
Total lines 355
Lines of code 195
Logical lines of code 107
Comment lines 97
Methods 14
Properties 3

Methods 14

Method Rating Maintainability Complexity Lines of code
update_square_product()
A
46 13 36
square_api_request()
S
49 6 28
updated_inventory_data()
S
58 6 15
update_variable_product_variations()
S
59 6 14
decrypt_access_token()
S
58 4 15
update_simple_product_variation()
S
65 5 8
is_token_valid()
S
65 4 8
get_inventory()
S
60 3 13
update_variations()
S
67 3 7
encrypt_access_token()
S
62 2 11
update_inventory()
S
53 1 22
get_access_token()
S
71 2 5
get_square_item_details()
S
63 2 10
__construct()
S
80 1 3